import request from '@/utils/request';

// 根据部门查可见系统
export function getAppBTypeAndId(params) {
  return request({
    url: '/permission_setting/get_app_by_type_and_id',
    method: 'get',
    params
  });
}
// 设置可见系统
export function modifyAppByTypeAndId(data) {
  return request({
    url: '/permission_setting/modify_app_by_type_and_id',
    method: 'post',
    data
  });
}
